Intersoft ClientUI Documentation
Show(IWindow,String,String,MessageBoxButton,Action<DialogResult>) Method



A Window that represents the owner window of the message box.
A String that specifies the text to display.
A String that specifies the title bar caption to display.
A MessageBoxButton value that specifies which button or buttons to display.
An Action delegate that will be called when the message box is closed.
Displays a message box in front of the specified window. The message box displays a message, title bar caption and predefined buttons.
Syntax
Public Overloads Shared Sub Show( _
   ByVal window As IWindow, _
   ByVal message As String, _
   ByVal caption As String, _
   ByVal button As MessageBoxButton, _
   ByVal resultCallback As Action(Of DialogResult) _
) 
Dim window As IWindow
Dim message As String
Dim caption As String
Dim button As MessageBoxButton
Dim resultCallback As Action(Of DialogResult)
 
UXMessageBox.Show(window, message, caption, button, resultCallback)
public static void Show( 
   IWindow window,
   string message,
   string caption,
   MessageBoxButton button,
   Action<DialogResult> resultCallback
)
public:
static void Show( 
   IWindow^ window,
   String^ message,
   String^ caption,
   MessageBoxButton button,
   Action<DialogResult>^ resultCallback
) 

Parameters

window
A Window that represents the owner window of the message box.
message
A String that specifies the text to display.
caption
A String that specifies the title bar caption to display.
button
A MessageBoxButton value that specifies which button or buttons to display.
resultCallback
An Action delegate that will be called when the message box is closed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXMessageBox Class
UXMessageBox Members
Overload List

Send Feedback